MovieImportSetChunkSize
TheMovieImportSetChunkSize
function allows an application to specify the amount of data your component works with at a time.
pascal ComponentResult MovieImportSetChunkSize (ComponentInstance ci, long chunkSize);
ci
- Identifies the application's connection to your movie data import component.
chunkSize
- Specifies the number of seconds of data your movie data import component places into each chunk of movie data. This parameter may not be set to a value less than 1.
DESCRIPTION
The chunk size controls the amount of data in each of a media's data chunks (for more information about data chunks in a media, see the chapter "QuickTime Movie Format" in Inside Macintosh: QuickTime). Generally, your component should determine a reasonable default chunk size, based on the type of data you are importing. However, you may choose to allow applications to override your default value--this can be especially useful for sound data, where the chunk size affects the quality of sound playback.RESULT CODE
badComponentSelector 0x80008002 Function not supported
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help